package me.sealer.ssm.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author sealer
 * @date 2018/05/04.
 */
@Slf4j
@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/error404")
    public String error404() {
        return "error-404";
    }

    @RequestMapping("/error405")
    public String error405() {
        return "error-405";
    }
}
